package com.mywebsite.Service;


import com.mywebsite.Domain.EmailCode;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.mail.MessagingException;

@Component
public interface EmailService {
    String sendEmail(String useremail) throws MessagingException;

    Boolean checkEmail(EmailCode emailCode);
}
